package com.lc.demo.mapper;

import com.lc.demo.bean.User;
import org.apache.ibatis.annotations.Select;
import tk.mybatis.mapper.common.BaseMapper;

/**
 * @Author: sakila
 * @Date: 2022/03/06/12:15
 * @Description:
 */
public interface UserMapper extends BaseMapper<User> {


    @Select("select * from user where username=#{username}")
    User findByUsername(String username);
}
